package com.wangzhixuan.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wangzhixuan.model.Meeting;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;


/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-08-12
 */
public interface MeetingMapper extends BaseMapper<Meeting> {

	List<Meeting> selectMeetingPage(Pagination page, Map<String, Object> params);

	Meeting selectMeeting(@Param("workId") String workId,@Param("meeting") String meeting);

	Meeting selectMeetForBase(@Param("userId") Integer userId,@Param("workId") Integer workId);
	
	Meeting selectMeetingByUW(@Param("workId") String workId);
	
	String selectStatus(Map<String, Object> paramMap);
	
	Meeting selectMeetForStatus(Map<String, Object> paramMap);

}